package com.demo.springframeworkutil;

import org.springframework.util.StringUtils;

/**
 * @author wangning
 * @date 2023/12/19 17:17
 * @description
 */
public class StringUtilsTest {
    public static void main(String[] args) {
        System.out.println("StringUtils.isEmpty(null) = " + StringUtils.isEmpty(null));//true
        System.out.println("StringUtils.isEmpty(\"\") = " + StringUtils.isEmpty(""));//true
        System.out.println("StringUtils.isEmpty(\" \") = " + StringUtils.isEmpty(" "));//false
        System.out.println("StringUtils.isEmpty(\"aaa\") = " + StringUtils.isEmpty("aaa"));//false
        System.out.println("StringUtils.isEmpty(\"\\t\") = " + StringUtils.isEmpty("\t"));//false

    }
}
